package Threads;

public class ThreadInfoDemo {
    public static void main(String[] args) {
        Thread man = Thread.currentThread();
        String name = man.getName();
        System.out.println(name);
        long id = man.getId();
        System.out.println(id);


        int proty = man.getPriority();
        System.out.println(proty);
    }
}
